<template>
  <div id="app">
    <router-view/>

    <mt-tabbar v-model="selected">
      <mt-tab-item id="home">
        <!-- <img slot="icon" src="../assets/100x100.png"> -->
        社汇圈
      </mt-tab-item>
      <mt-tab-item id="niuren">
        <!-- <img slot="icon" src="../assets/100x100.png"> -->
        牛人榜
      </mt-tab-item>
      <mt-tab-item id="account">
        <!-- <img slot="icon" src="../assets/100x100.png"> -->
        订单账户
      </mt-tab-item>
      <mt-tab-item id="mine">
        <!-- <img slot="icon" src="../assets/100x100.png"> -->
        我的
      </mt-tab-item>
    </mt-tabbar>
  </div>
</template>

<script>
export default {
  name: 'App',
  data() {
    return {
      selected: "account"
    }
  },
  methods: {
    handleClick: function () {
      this.$toast("hello world")
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  margin-top: 60px;
}
.page-tabbar {  
    overflow: hidden;  
    height: 100vh;  
  }  
  
  .page-wrap {  
    overflow: auto;  
    height: 100%;  
    padding-bottom: 100px;  
  }
</style>
